package com.inmobi.androidsdk.impl;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.inmobi.androidsdk.impl.net.RequestResponseManager;
import com.inmobi.commons.internal.InternalSDKUtil;
import com.inmobi.commons.internal.Log;

public class ConnBroadcastReciever extends BroadcastReceiver
{
  public void onReceive(Context paramContext, Intent paramIntent)
  {
    if ((paramIntent.getAction().equals("android.net.conn.CONNECTIVITY_CHANGE")) && (InternalSDKUtil.checkNetworkAvailibility(paramContext)))
      Log.internal("InMobiAndroidSDK_3.7.0", "Received CONNECTIVITY BROADCAST");
    try
    {
      RequestResponseManager localRequestResponseManager = new RequestResponseManager();
      localRequestResponseManager.init();
      localRequestResponseManager.processClickInBackground(paramContext.getApplicationContext());
      return;
    }
    catch (Exception localException)
    {
      Log.internal("InMobiAndroidSDK_3.7.0", "Connectivity receiver exception", localException);
    }
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.inmobi.androidsdk.impl.ConnBroadcastReciever
 * JD-Core Version:    0.6.2
 */